package config

import (
	"github.com/zeromicro/go-zero/core/stores/redis"
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	rest.RestConf
	Redis                redis.RedisKeyConf `json:",optional"`
	CouponRpcClientConf  zrpc.RpcClientConf
	ProductRpcClientConf zrpc.RpcClientConf
	Auth                 struct {
		AccessSecret string
		AccessExpire int64
	}
}
